import 'package:flutter/material.dart';
import 'todo_app.dart'; // Import the todo list screen file

void main() {
  runApp(MaterialApp(
    title: 'Todo List', // Provide a title for the app
    theme: ThemeData(
      primarySwatch: Colors.purple,
      appBarTheme: AppBarTheme(
        backgroundColor: Colors.purple[700],
        titleTextStyle: const TextStyle(
          color: Colors.white,
          fontSize: 20,
          fontWeight: FontWeight.bold,
        ),
      ),
      floatingActionButtonTheme: const FloatingActionButtonThemeData(
        backgroundColor: Colors.purple,
        foregroundColor: Colors.white,
      ),
    ),
    home: const TodoListScreen(), // Display the TodoListScreen
  ));
}
